<div id="nav-menu" class="margin">
	<ul class="float-left">
		<li><a href="<?php echo base_url();?>home">Home</a></li>
		<li><a href="<?php echo base_url();?>search/">Search</a></li>
		<li><a href="<?php echo base_url();?>browse/">Browse</a></li>
		<li><a href="<?php echo base_url();?>journal/publishnew">Publish with Us</a></li>
		<li><a href="<?php echo base_url();?>aboutus/">About Us</a></li>
		<li><a href="<?php echo base_url();?>contactus/">Contact Us</a></li>
	</ul>
	
	<?php 
	if($this->sessionfunctions->isLogedIn() === TRUE){
		?>
	<ol class="float-right">
		<li class="nav_login transition">
			Welcome <?php echo $this->sessionfunctions->firstName();?>
			<ul class="transition after-login">
				<li>
					<a href="<?php echo base_url();?>myprofile/">My Profile</a>
				</li>
				<li>
					<a href="<?php echo base_url();?>logout/">Log Out</a>	
				</li>
			</ul>
		</li>
	</ol>				
		<?php 
		}else{
			?>
	<ol class="float-right">
		<li class="nav_login transition">
			Login / Register
			<ul class="transition">
				<li>
					<?php $this->load->view('partial/loginform'); ?>	
				</li>
			</ul>
		</li>
	</ol>	
		<?php 
		//Else
		}
	
	?>				
	
</div><!-- nav-menu -->